package control4j.project;

/*
 *  Copyright 2013 Jiri Lidinsky
 *
 *  This file is part of control4j.
 *
 *  control4j is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, version 3.
 *
 *  control4j is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with control4j.  If not, see <http://www.gnu.org/licenses/>.
 */

import java.util.ArrayList;
import java.util.Collection;
import control4j.application.ConfigBuffer;
import control4j.application.Property;

/**
 *
 */
public class Project
{
  private ArrayList<ApplicationFilename> applications
    = new ArrayList<ApplicationFilename>();
  private ConfigBuffer configuration = new ConfigBuffer();

  public Collection<ApplicationFilename> getFilenames()
  {
    return applications;
  }

  public ConfigBuffer getConfiguration()
  {
    return configuration;
  }

  public void addFilename(ApplicationFilename filename)
  {
    applications.add(filename);
  }

  public void putProperty(Property property)
  {
    configuration.put(property);
  }

}
